#include <sstream>
#include "SymboleProcedure.hpp"

SymboleProcedure::SymboleProcedure(): Symbole() {

}

SymboleProcedure::SymboleProcedure(int arite) {
    this->arite = arite;
}

// TODO
/*
SymboleProcedure::SymboleProcedure(const SymboleProcedure& sPro) {
}
*/

SymboleProcedure::~SymboleProcedure() {
}

std::string convertInt(int number)
{
   std::stringstream ss;
   ss << number;
   return ss.str();
}
std::string SymboleProcedure::toString(){
    std::string retour = "Procedure\t[arite:" + convertInt(this->arite) + (std::string)"]";
    return retour;
}

void SymboleProcedure::setArite(int arite){
    this->arite = arite;
}

Type * SymboleProcedure::getType()
{
    return this->type;
}
